package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;

@Data
@ApiModel("好友请求创建参数")
public class UserFriendRequestCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "userId参数缺失")
    @ApiModelProperty(value = "发起者用户ID")
    private Integer userId;

    @NotNull(message = "toUserId参数缺失")
    @ApiModelProperty(value = "接受者用户ID")
    private Integer toUserId;

    @NotNull(message = "type参数缺失")
    @ApiModelProperty(value = "类型[0=等待验证 1=同意(好友) 2=拒绝]")
    private Integer type;

}
